package com.ld.security.auth.common.base.entity;

import com.ld.security.auth.common.base.constants.JwtTokenConstant;
import com.ld.security.common.mybatis.anno.SqlKey;
import com.ld.security.common.mybatis.constant.SqlCondition;
import com.ld.security.common.mybatis.base.entity.SuperEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class JwtToken  extends SuperEntity {

	@ApiModelProperty("描述")
	@SqlKey(SqlCondition.like)
	private String label;

	@ApiModelProperty("账号")
	@SqlKey(SqlCondition.like)
	private String username;

	@ApiModelProperty("令牌")
	@SqlKey
	private String token;

	@ApiModelProperty("令牌类型")
	@SqlKey
	private JwtTokenConstant.tokenType tokenType;

	@ApiModelProperty("令牌状态")
	@SqlKey
	private JwtTokenConstant.tokenStatus tokenStatus;



}
